package com.varian.service.exception.handler;

import com.varian.tool.result.IR;
import jakarta.servlet.http.HttpServletResponse;

/**
 * @author ben
 * @since 2024/6/27
 */
public interface ExceptionHandlerStrategy {

    Class<? extends Exception> getExceptionClass();

    IR handle(Exception exception, HttpServletResponse response);
}
